<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>定时重定向</title>
</head>
<body>
    <script>
        //尝试实现页面 3s 钟之后跳转 的功能.
        setTimeout(function fun() {
            window.location.href="https://www.sogo.com";
        },3000)
    </script>
</body>
</html>